import { BaseService } from "../BaseService";
import { Post, Get ,requestBody, urlParameter, success,error } from "@/http/Http";



class LoginService extends BaseService{
	
	@Post("/auth/moveLogin")
	login(@requestBody data:any,@success success:(res)=>void,@error errors:(res)=>void){}
	
	@Get("/auth/moveCode")
	code(@success success:(res)=>void){}
	
	@Get("/weixin/mpPageAuth")
	mpPageAuth(@urlParameter data,@success success:(res)=>void){}
	
	@Post("/mp/register/createUser")
	register(@requestBody data, @success success:(res)=>void){}
	
	@Post("/mp/register/updatePass",true)
	updatePass(@requestBody data, @success success:(res)=>void){}
}


export const loginService = new LoginService()
